package com.max.sys.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.max.base.service.BaseService;
import com.max.sys.domain.BSysUser;
import com.max.sys.mapper.BSysUserMapper;
import com.max.sys.service.IBSysUserService;

@Service
public class BSysUserService extends BaseService<BSysUser> implements IBSysUserService {

	@Resource
	private BSysUserMapper sysUserMapper;

	@Override
	public BSysUser login(String userName) {
		return sysUserMapper.getUserByUserName(userName);
	}

}
